package Practice08.test1;

public class Student {
    private String studentName;
    private String className;
    private String lesson;
    private int score;

    public Student(String studentName, String className, String lesson, int score) {
        this.studentName = studentName;
        this.className = className;
        this.lesson = lesson;
        this.score = score;
    }

    @Override
    public String toString() {
        return "Student{" +
                "studentName='" + studentName + '\'' +
                ", className='" + className + '\'' +
                ", lesson='" + lesson + '\'' +
                ", score=" + score +
                '}';
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getLesson() {
        return lesson;
    }

    public void setLesson(String lesson) {
        this.lesson = lesson;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }
}
